package com.myqm.dao.weixin;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import com.myqm.pojo.weixin.OrderDetail;

@Mapper
public interface OrderDetailDao {
    
    /**
   	 * 根据订单id查询订单明细
   	 * @param id 订单id
   	 * @return 订单明细记录
   	 */
    List<OrderDetail>listByOrderId(Integer orderId);
    
    /**
   	 * 增加订单明细
   	 * @param record 订单明细
   	 * @return 
   	 */
    int add(OrderDetail record);
}
